From: Gerd Moellmann Date: Fri, 11 May 2001 13:06:47 +0000 (+0000) Subject: (try_window_id): Fix the fix and set the right X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~40355 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=69de465b74599830f4dcabdfa928734a1d084763;p=emacs.git (try_window_id): Fix the fix and set the right window_end_vpos. --- diff --git a/src/xdisp.c b/src/xdisp.c index 97f8c81f642..f18f5ac5a2f 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -11707,7 +11707,7 @@ try_window_id (w) } xassert (row != NULL); - w->window_end_vpos = make_number (vpos); + w->window_end_vpos = make_number (vpos + 1); w->window_end_pos = make_number (Z - MATRIX_ROW_END_CHARPOS (row)); w->window_end_bytepos = Z_BYTE - MATRIX_ROW_END_BYTEPOS (row); xassert (w->window_end_bytepos >= 0);